package net.thxjj.service.dao;

import net.model.device.DeviceBean;
import net.util.ParameterMap;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DeviceDao {

    DeviceBean getDeviceInfo(ParameterMap parameterMap);

    void updateDeviceOffline(ParameterMap parameterMap);

    void insertDeviceBaseInfo(ParameterMap parameterMap);

    void insertDevSendLog(ParameterMap parameterMap);

    void updateDevBaseInfo(ParameterMap parameterMap);

    void updateDevOnlineStatus(ParameterMap parameterMap);

    List<Long> getRelationUserIds(@Param("device_id")String device_id);

    List<String> getUserBindDeviceList(long user_id);
}
